﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CruiseAdd.ascx.cs" Inherits="AdminX_Cruise_CruiseAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<div>
    <uc1:Alert ID="MessAlert1" runat="server" />
</div>
<div>
    <asp:Label ID="lblLanguage" Width="110px" CssClass="text" runat="server" Style="font-weight: 700"></asp:Label>
    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal" AutoPostBack="true"
        OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
    </asp:DropDownList>
</div>
<div>
    <asp:Label ID="lblTitle" runat="server" Width="110px" CssClass="text" Style="font-weight: 700"></asp:Label>
    <asp:TextBox ID="txtTitle" runat="server" CssClass="boxlongest" Width="400px" MaxLength="150"
        ValidationGroup="Input"></asp:TextBox><span style="color: #ff3333">*</span>
</div>
<div>
    <asp:Label ID="lblPriceFrom" runat="server" Width="110px" CssClass="text" Style="font-weight: 700"></asp:Label>
    <asp:TextBox ID="txtPriceFrom" runat="server" CssClass="boxlongest" Width="400px" MaxLength="150"
        ValidationGroup="Input"></asp:TextBox>
</div>

<div>
    <asp:Label ID="lblPriceTo" runat="server" Width="110px" CssClass="text" Style="font-weight: 700"></asp:Label>
    <asp:TextBox ID="txtPriceTo" runat="server" CssClass="boxlongest" Width="400px" MaxLength="150"
        ValidationGroup="Input"></asp:TextBox>
</div>



<div>
<asp:Label ID="lblDuration" runat="server" CssClass="text" Width="110px" Style="font-weight: 700"></asp:Label>
    <asp:DropDownList ID="ddlDuration" runat="server" CssClass="boxlongest"></asp:DropDownList></div>
    <div>
<asp:Label ID="lblCountry" runat="server" CssClass="text" Width="110px" Style="font-weight: 700"></asp:Label>
    <asp:DropDownList ID="ddlCountry" runat="server" CssClass="boxlongest"></asp:DropDownList></div>




    <div>
<asp:Label ID="lblCruiseRegion" runat="server" CssClass="text" Width="110px" Style="font-weight: 700"></asp:Label>
    <asp:RadioButton ID="rdoCruiseRegion1" runat="server" GroupName="rdoGuide1" ForeColor="black" Width="150px"/> <%--1 ha long--%>
    <asp:RadioButton ID="rdoCruiseRegion2" runat="server" GroupName="rdoGuide1" ForeColor="black" Width="200px"/> <%--2 song me cong--%>
    </div>
    <div>
<asp:Label ID="lblType" runat="server" CssClass="text" Width="110px" Style="font-weight: 700"></asp:Label>
    <asp:RadioButton ID="rdoType1" runat="server" GroupName="rdoGuide2" ForeColor="black" Width="150px" /><%-- 1 private--%>
    <asp:RadioButton ID="rdoType2" runat="server" GroupName="rdoGuide2" ForeColor="black" Width="200px"/> <%--2 luxury--%>
    </div>
    <%--onclick="SetUniqueRadioButton(this)"--%>



<div>
    <asp:Label ID="lblImage" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>

    <div>
    <asp:Label ID="lblImage1" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage1" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage1" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>

    <div>
    <asp:Label ID="lblImage2" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage2" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage2" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>

    <div>
    <asp:Label ID="lblImage3" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage3" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage3" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>

    <div>
    <asp:Label ID="lblImage4" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage4" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage4" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>

    <div>
    <asp:Label ID="lblImage5" Width="110px" runat="server" CssClass="text" Style="font-weight: 700"></asp:Label>
    <input id="iptImage5" runat="server" type="file" size="30" class="boxlongest" onclick="return iptImage_onclick()" />
    <asp:Image runat="server" ID="imgImage5" Height="105px" BorderWidth="1px" BorderColor="gray" /></div>
    
    <div style="padding: 10px 0px 0px 0px">
    <b>
        <asp:Label ID="lblInitContent" runat="server" Width="110px" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>


    <div style="padding: 0px">
    <asp:TextBox ID="txtInitContent" runat="server" CssClass="textbox_multiline" MaxLength="1999"
        TextMode="MultiLine" ValidationGroup="Input" ></asp:TextBox>
</div>

<div style="padding: 10px 0px 0px 0px">
    <b><asp:Label ID="lblContent" Width="110px" runat="server" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>
<div>
    <uc2:Textbox ID="FTBContent" runat="server"></uc2:Textbox>
</div>



<div style="padding: 10px 0px 0px 0px">
    <b><asp:Label ID="lblContent_2day" Width="110px" runat="server" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>
<div>
    <uc2:Textbox ID="txtValContent_2day" runat="server"></uc2:Textbox>
</div>
<div style="padding: 10px 0px 0px 0px">
    <b><asp:Label ID="lblContent_3day" Width="110px" runat="server" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>
<div>
    <uc2:Textbox ID="txtValContent_3day" runat="server"></uc2:Textbox>
</div>




<div style="padding: 10px 0px 0px 0px">
    <b><asp:Label ID="lblVideoLink" Width="110px" runat="server" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>

 <div>
    <uc2:Textbox ID="FTBVideoLink" runat="server"></uc2:Textbox>
</div>
<div style="padding: 5px 0px 5px 0px">
    <asp:CheckBox ID="chkDisplayOrder" runat="server" CssClass="text" Checked="True" />&nbsp;&nbsp;
    <span style="width: 50px">
        <asp:DropDownList ID="ddlPriority" runat="server" CssClass="boxsmall">
        </asp:DropDownList>
    </span>
    <asp:CheckBox ID="chkActive" runat="server" CssClass="text" Checked="true"  Width="120px" />
    
</div>
<div style="padding: 20px 20px 0px 0px">
    <asp:Button ID="btnSave" runat="server" Width="80px" OnClick="btnSave_Click1" ValidationGroup="Input" />
    &nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnCancel" runat="server" Width="80px" OnClick="btnCancel_Click" />
</div>

<asp:RequiredFieldValidator ID="rfvTitle" runat="server" SetFocusOnError="true" ControlToValidate="txtTitle"
    Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>

<asp:RequiredFieldValidator ID="rfvInitContent" runat="server" SetFocusOnError="true"
    ControlToValidate="txtInitContent" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
    ValidationGroup="Input" ShowSummary="False" />
<asp:RegularExpressionValidator ID="revPriceFrom" runat="server" ControlToValidate="txtPriceFrom"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="revPriceTo" runat="server" ControlToValidate="txtPriceTo"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>